package cn.lyh.gulimall.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author lyh
 * @version 1.0
 * @since 2021/4/6
 */
/**
    * 品牌分类关联
    */
@Data
@TableName(value = "pms_category_brand_relation")
public class PmsCategoryBrandRelation {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 品牌id
     */
    @TableField(value = "brand_id")
    private Long brandId;

    /**
     * 分类id
     */
    @TableField(value = "catelog_id")
    private Long catelogId;

    @TableField(value = "brand_name")
    private String brandName;

    @TableField(value = "catelog_name")
    private String catelogName;

    public static final String COL_ID = "id";

    public static final String COL_BRAND_ID = "brand_id";

    public static final String COL_CATELOG_ID = "catelog_id";

    public static final String COL_BRAND_NAME = "brand_name";

    public static final String COL_CATELOG_NAME = "catelog_name";
}